<template>
<div>
  <navHeader logo search></navHeader>
  <swiper :imgList="img"></swiper>
  <iconList :iconList="iconList"></iconList>
  <productList :product="product"></productList>
</div>
</template>

<script>
    export default {
      name: "index",

      components:{
        "navHeader":()=>import('../../components/navHeader'),
        "swiper":()=>import('../../components/swiper'),
        "iconList":()=>import('./components/iconList'),
        'productList':()=>import('../../components/productList')
      },

      data(){
        return{
          img:[{
            type:'image',
            src:'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=2383753167,3667788858&fm=26&gp=0.jpg'
          },{
            type:'image',
            src:'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=1017709996,1693011805&fm=26&gp=0.jpg'
          },{
            type:"image",
            src:'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3073466139,318406177&fm=26&gp=0.jpg'
          }],
          iconList: [
            {
              "id": 1,
              "imgUrl": "http://img1.qunarzz.com/piao/fusion/1611/54/ace00878a52d9702.png",
              "desc": "景点门票"
            }, {
              "id": 2,
              "imgUrl": "http://img1.qunarzz.com/piao/fusion/1711/df/86cbcfc533330d02.png",
              "desc": "滑雪季"
            }, {
              "id": 3,
              "imgUrl": "http://img1.qunarzz.com/piao/fusion/1710/a6/83f636bd75ae6302.png",
              "desc": "泡温泉"
            }, {
              "id": 4,
              "imgUrl": "http://img1.qunarzz.com/piao/fusion/1611/35/2640cab202c41b02.png",
              "desc": "动植园"
            }, {
              "id": 5,
              "imgUrl": "http://img1.qunarzz.com/piao/fusion/1611/d0/e09575e66f4aa402.png",
              "desc": "游乐园"
            }, {
              "id": 6,
              "imgUrl": "http://img1.qunarzz.com/piao/fusion/1611/59/569d3c096e542502.png",
              "desc": "必游榜单"
            }, {
              "id": 7,
              "imgUrl": "http://img1.qunarzz.com/piao/fusion/1611/17/4bd370f3eb1acd02.png",
              "desc": "演出"
            }, {
              "id": 8,
              "imgUrl": "http://img1.qunarzz.com/piao/fusion/1611/7f/b1ea3c8c7fb6db02.png",
              "desc": "城市观光"
            }, {
              "id": 9,
              "imgUrl": "http://img1.qunarzz.com/piao/fusion/1611/a9/ffc620dbda9b9c02.png",
              "desc": "一日游"
            }],
          product:[
            {
              "id": "001",
              "productName": "三星 Galaxy S20 Ultra 5G(SM-G9880)双模5G 骁龙865 1.08亿像素 100倍变焦 游戏手机 12GB+256GB 遐想灰",
              "imgList": ["https://img11.360buyimg.com/n1/s450x450_jfs/t1/106386/26/13195/180420/5e54fc51E5add154e/440f849a914675c5.jpg"],
              "price": 8999
            },{
              "id": "002",
              "productName": "vivo S7 心动的信号礼盒 8GB+128GB 莫奈漫彩 前置4400万AF双摄自拍 后置6400万超感光夜摄 5G全网通手机",
              "imgList": ["https://img10.360buyimg.com/n1/s450x450_jfs/t1/131832/13/9505/62174/5f576c36Ea9070d0b/f6053af5c7f5e189.jpg"],
              "price": 2798
            },{
              "id": "003",
              "productName": "Apple iPad 10.2英寸 平板电脑（ 2020年新款 128G WLAN版/Retina显示屏/A12仿生芯片MYLF2CH/A）金色",
              "imgList": ["https://img14.360buyimg.com/n1/s450x450_jfs/t1/116980/1/18018/32255/5f614b86E56ea8840/91c1ef40b6ff3913.jpg"],
              "price": 2999
            },{
              "id": "004",
              "productName": " Apple Watch SE 智能手表 GPS款 40毫米深空灰色铝金属表壳 黑色运动型表带MYDP2CH/A",
              "imgList": ["https://img14.360buyimg.com/n1/s450x450_jfs/t1/145522/18/8510/72483/5f6159c5E0546967b/67d0dbf525103b0e.jpg"],
              "price": 2199
            },{
              "id": "005",
              "productName": " 荣耀Play4 5G双模 6400万锐力四摄 4300mAh大电池 VC液冷散热 8GB+128GB 幻影蓝TNNH-AN00",
              "imgList": ["https://img10.360buyimg.com/n1/s450x450_jfs/t1/112075/28/10880/241741/5ef4676fEbc700a22/f72e7cd342e94490.jpg"],
              "price": 1989
            },{
              "id": "006",
              "productName": "vivo Y70s 5G手机 8+128GB 雾光幻境 4500mAh大电池 双重解锁 后置三摄 双模5G全网通手机",
              "imgList": ["https://img11.360buyimg.com/n1/s450x450_jfs/t1/114331/12/7959/117450/5ec78e67E05093588/388d2471d710b09a.jpg"],
              "price": 2098
            },{
              "id": "007",
              "productName": "OPPO Reno3 Pro 双模5G 视频双防抖 90HZ高感曲面屏 7.7mm轻薄机身 8GB+128GB 日出印象 拍照游戏视频手机",
              "imgList": ["https://img13.360buyimg.com/n1/s450x450_jfs/t1/138313/18/1795/105728/5efb07e8E1a3a4f46/04b36c34c8cb24b2.jpg"],
              "price": 3499
            }]
        }
      },

      methods:{
        start(value){
          console.log(value)
        }
      }

    }
</script>

<style scoped>

</style>
